package com.ruoyi.finance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 运费账单对象 t_freight_bill_info
 * 
 * @author ruoyi
 * @date 2024-05-16
 */
public class TFreightBillInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账单ID */
    private Long freightBillId;

    /** 运费单号 */
    @Excel(name = "运费单号")
    private String freightBillNumber;

    /** 运费月份 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "运费月份", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date freightBillDate;

    /** 结算客户 */
    @Excel(name = "结算客户")
    private String statisticFieldName;

    /** 运量合计 */
    @Excel(name = "运量合计")
    private Double freightWeightTotal;

    /** 运费合计 */
    @Excel(name = "运费合计")
    private Double freightAmountTotal;

    /** 收款状态 */
    @Excel(name = "收款状态")
    private String freightCollectionStatus;

    /** 收款人 */
    @Excel(name = "收款人")
    private String freightCollectionPerson;

    /** 收款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "收款日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date freightCollectionDate;

    /** 统计字段 */
    @Excel(name = "统计字段")
    private String statisticField;

    /** 统计粒度 */
    @Excel(name = "统计粒度")
    private String statisticGranularity;

    /** 数据权限 */
    private String dataRealm;

    /** 园区代码 */
    private String parkCode;

    /** 删除标识 （0代表存在 2代表删除） */
    private String delFlag;

    public void setFreightBillId(Long freightBillId) 
    {
        this.freightBillId = freightBillId;
    }

    public Long getFreightBillId() 
    {
        return freightBillId;
    }
    public void setFreightBillNumber(String freightBillNumber) 
    {
        this.freightBillNumber = freightBillNumber;
    }

    public String getFreightBillNumber() 
    {
        return freightBillNumber;
    }
    public void setFreightBillDate(Date freightBillDate) 
    {
        this.freightBillDate = freightBillDate;
    }

    public Date getFreightBillDate() 
    {
        return freightBillDate;
    }
    public void setStatisticFieldName(String statisticFieldName) 
    {
        this.statisticFieldName = statisticFieldName;
    }

    public String getStatisticFieldName() 
    {
        return statisticFieldName;
    }
    public void setFreightWeightTotal(Double freightWeightTotal) 
    {
        this.freightWeightTotal = freightWeightTotal;
    }

    public Double getFreightWeightTotal() 
    {
        return freightWeightTotal;
    }
    public void setFreightAmountTotal(Double freightAmountTotal) 
    {
        this.freightAmountTotal = freightAmountTotal;
    }

    public Double getFreightAmountTotal() 
    {
        return freightAmountTotal;
    }
    public void setFreightCollectionStatus(String freightCollectionStatus) 
    {
        this.freightCollectionStatus = freightCollectionStatus;
    }

    public String getFreightCollectionStatus() 
    {
        return freightCollectionStatus;
    }
    public void setFreightCollectionPerson(String freightCollectionPerson) 
    {
        this.freightCollectionPerson = freightCollectionPerson;
    }

    public String getFreightCollectionPerson() 
    {
        return freightCollectionPerson;
    }
    public void setFreightCollectionDate(Date freightCollectionDate) 
    {
        this.freightCollectionDate = freightCollectionDate;
    }

    public Date getFreightCollectionDate() 
    {
        return freightCollectionDate;
    }
    public void setStatisticField(String statisticField) 
    {
        this.statisticField = statisticField;
    }

    public String getStatisticField() 
    {
        return statisticField;
    }
    public void setStatisticGranularity(String statisticGranularity) 
    {
        this.statisticGranularity = statisticGranularity;
    }

    public String getStatisticGranularity() 
    {
        return statisticGranularity;
    }
    public void setDataRealm(String dataRealm) 
    {
        this.dataRealm = dataRealm;
    }

    public String getDataRealm() 
    {
        return dataRealm;
    }
    public void setParkCode(String parkCode) 
    {
        this.parkCode = parkCode;
    }

    public String getParkCode() 
    {
        return parkCode;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("freightBillId", getFreightBillId())
            .append("freightBillNumber", getFreightBillNumber())
            .append("freightBillDate", getFreightBillDate())
            .append("statisticFieldName", getStatisticFieldName())
            .append("freightWeightTotal", getFreightWeightTotal())
            .append("freightAmountTotal", getFreightAmountTotal())
            .append("remark", getRemark())
            .append("freightCollectionStatus", getFreightCollectionStatus())
            .append("freightCollectionPerson", getFreightCollectionPerson())
            .append("freightCollectionDate", getFreightCollectionDate())
            .append("statisticField", getStatisticField())
            .append("statisticGranularity", getStatisticGranularity())
            .append("dataRealm", getDataRealm())
            .append("parkCode", getParkCode())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
